package Year2021.month10.Day21.Day29Interface;

public class WorkTest {
    public static void main(String[] args) {
        Computer c=new Computer();
        c.setBrand("联想");
        c.setCpu(new IntelCpu("因特尔","3.8GHz"));
        c.setMemory(new KingstonMemory(4,"金士顿"));
        c.setHardDisk(new SolidStateHardDisk(3000));
        c.show();






    }
}
